

	<!-- 当前位置导航 START -->
	<div class="top_cur_pos">
		<span><a href="{$_s.web_dir}">首页</a>&nbsp;&gt;&nbsp;找回密码</span>
	</div>
	<!-- 当前位置导航 END -->

	<div class="space20"></div>

	<!-- 主体区 -->
	<div class="area">

		<!-- 找回密码 START -->
		<div class="sl_t_block bdcolor-olivine">
			<div class="tt">
				<h2 class="color-olivine">找回密码</h2>
			</div>
			
			<div class="main-block user-login-reg">
				
				<!-- 找回密码过程 START -->
				<h2 class="findpwd-flow">
					<b>填写账户名</b>&nbsp;&gt;&nbsp;选择方式&nbsp;&gt;&nbsp;信息验证&nbsp;&gt;&nbsp;密码重置&nbsp;&gt;&nbsp;重新登录
				</h2>
				<!-- 找回密码过程 END -->

				<!-- 表单 START -->
				<div class="form-block">
					

					<form id="fm_findpwd" action="./index.php?mdl=findpwd&do=account" method="post" target="ajax">
						<input type="hidden" name="formAction" value="{$_act.mdl}_{$_act.do}" />

						<dl ><dt>&nbsp;</dt><dd><h2>填写账户名</h2></dd><div class="clear"></div></dl>
						<dl ><dt>用户名：</dt><dd><input type="text" tabindex="1" name="username" value="" class="input" style="width:240px;" /></dd><div class="clear"></div></dl>
						<dl ><dt>验证码：</dt><dd><input type="text" tabindex="2" name="checkcode" value="" maxlength="4" class="input" style="width:100px;" /></dd><dd><img src="{$_s.app_dir}_checkcode.php" name="ckimg" border="0" id="ckimg" alt="点击可更换另一张" style="cursor:pointer;" /></dd><dd><a id="ckchange" href="#">换一张</a></dd><div class="clear"></div></dl>
						<dl ><dt>&nbsp;</dt><dd><input type="submit" tabindex="3" value="下一步" class="btn-2th" /></dd><div class="clear"></div></dl>
					</form>
				</div>
				<!-- 表单 END -->

				<!-- 提示信息 START -->
				<div class="form-block">
					<ul class="single_line">
						<li><h2>还不是{$_sysvars.shop_name}商城用户？</h2></li>
						<li>现在免费注册成为{$_sysvars.shop_name}商城用户，便能立刻享受便宜又放心的购物乐趣。</li>
						<li><a href="/index.php?mdl=user&do=register"><b>现在去注册&gt;&gt;</b></a></li>
					</ul>
				</div>
				<!-- 提示信息 END -->
				
				<div class="clear"></div>
			</div>
		</div>
		<!-- 找回密码 END -->

	</div>

	

<script type="text/javascript" language="JavaScript" charset="utf-8">
<!-- 
	{literal}
	$('#ckchange').click(function(){
		$('#ckimg').attr('src', _s.app_dir+'_checkcode.php?' + ((new Date()).getTime()));
	});
	$('#ckimg').click(function(){
		$(this).attr('src', _s.app_dir+'_checkcode.php?' + ((new Date()).getTime()));
	});

	jQuery(function($){
		$('#fm_findpwd').submit(function(evt){
			var username	= $.trim($(this).find('input[name="username"]').val());
			var checkcode	= $.trim($(this).find('input[name="checkcode"]').val());

			var errmsg = [];
			if(username == '' || username.length < 2)errmsg.push('未输入用户名或少于两个字');
			if(checkcode == '' || checkcode.length < 4)errmsg.push('未输入验证码或少于4个字');
			
			if(errmsg.length > 0){
				evt.iscancelled = true;	// 阻止其他事件
				errmsg = errmsg.join('<br />');
				showmsg_warning(errmsg, {title:'表单验证失败'});
				return false;
			}
			return true;
		});
	});

	function callback_findpwd_userid(params){
		if(params.result == 'succ'){
			params.msg = '用户名存在';
			params.url = './index.php?mdl=findpwd&do=method';
		}else{
			$('#ckimg').attr('src', _s.app_dir+'_checkcode.php?' + ((new Date()).getTime()));
		}
		callback_common(params);
	}
	{/literal}
//-->
</script>